package com.yuanfud.entity.blog;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
@Api("文章列表")
public class ArticleList implements Serializable {

    @ApiModelProperty("编号")
    private Integer id;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("作者")
    private String author;
    @ApiModelProperty("内容")
    private String content;
    @ApiModelProperty("日期")
    private String inputDate;
    @ApiModelProperty("提交人")
    private String inputUser;
    @ApiModelProperty("类别名称")
    private String typeName;
    @ApiModelProperty("阅读量")
    private int readNum;
    @ApiModelProperty("图片地址")
    private String newsImgAddr;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getInputDate() {
        return inputDate;
    }

    public void setInputDate(String inputDate) {
        this.inputDate = inputDate;
    }

    public String getInputUser() {
        return inputUser;
    }

    public void setInputUser(String inputUser) {
        this.inputUser = inputUser;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public int getReadNum() {
        return readNum;
    }

    public void setReadNum(int readNum) {
        this.readNum = readNum;
    }

    public String getNewsImgAddr() {
        return newsImgAddr;
    }

    public void setNewsImgAddr(String newsImgAddr) {
        this.newsImgAddr = newsImgAddr;
    }
}
